package com.bd.myprotolib.worker

import com.bd.myprotolib.bean.XTZJ_Bean
import com.bd.myprotolib.bean.ZJXX_Bean
import com.bd.myprotolib.proto.Proto4My
import com.hailiao.hlbdcore.base.HLBDClient

/**
 * 这个类实在不知道怎么转java，写kotlin也很简单，没什么复杂内容
 * 其他协议也是照猫画虎即可
 *
 * @Author: D10NG
 * @Time: 2021/12/3 16:35
 */
object MyWorker4 {

    suspend fun xtzj(client: HLBDClient, device: String, bean: XTZJ_Bean): ZJXX_Bean {
        return client.send(device, Proto4My.ZJ, bean)
    }
}